package top.dprkshow.springboothelloworld;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import top.dprkshow.springboothelloworld.AOP2.UserService;

@SpringBootApplication
//@ComponentScan(value = "top.dprkshow.springboothelloworld.AOP2")
public class SpringbootHelloworldApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringbootHelloworldApplication.class, args);
        UserService userService = new UserService();
        userService.serveUser();
    }

}
